Behdad Esfahbod [Wed, 25 Jan 2006 16:26:41 +0000 (16:26 +0000)]
Use translated strings calendar:week:digits|%d and calendar:day:digits|%d
2006-01-25 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkcalendar.c (calendar_paint_week_numbers, calendar_paint_day):
Use translated strings calendar:week:digits|%d and
calendar:day:digits|%d to let translators choose localized digits for
week and day numbers. (bug #317171, Hamed Malek)
Behdad Esfahbod [Wed, 25 Jan 2006 16:23:33 +0000 (16:23 +0000)]
Use logical extents of the layout instead of ink extents. According to
2006-01-25 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtklabel.c (get_layout_location): Use logical extents of the
layout instead of ink extents. According to Pango docs, that's what
should be used for placement. Moreover, simply use
pango_layout_get_pixel_size instead of getting the extents and
dividing ourselves.
Matthias Clasen [Wed, 25 Jan 2006 15:41:40 +0000 (15:41 +0000)]
Only set the cursor size if it is != 0.
2006-01-25 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): Only
set the cursor size if it is != 0.
* gtk/gtksettings.c (gtk_settings_class_init): Change the default value
of gtk-cursor-theme-size to 0, meaning "use default".
Kristian Rietveld [Tue, 24 Jan 2006 10:49:29 +0000 (10:49 +0000)]
#322591, Jonathan Blandford.
2006-01-24 Kristian Rietveld <kris@gtk.org>
#322591, Jonathan Blandford.
* gtk/gtktreeview.[ch] (gtk_tree_view_get_search_entry),
(gtk_tree_view_set_search_entry),
(gtk_tree_view_get_search_position_func),
(gtk_tree_view_set_search_position_func): New functions,
and small adaptions to the tree view code to allow for setting
the entry and search position function.
* gtk/gtktreeprivate.h: Removed GtkTreeViewSearchDialogPositionFunc
typedef, which is now in gtktreeview.h as
GtkTreeViewSearchPositionFunc. Add/update fields.
* gtk/gtk.symbols: Add new functions.
* tests/testtreesort.c: Add a little test for _set_search_entry().
Matthias Clasen [Tue, 24 Jan 2006 03:48:49 +0000 (03:48 +0000)]
Add GtkLinkButton docs
2006-01-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt:
* gtk/gtk-docs.sgml:
* gtk/gtk.types: Add GtkLinkButton docs
Matthias Clasen [Tue, 24 Jan 2006 03:35:53 +0000 (03:35 +0000)]
Add GtkLinkButton, a port of GnomeHRef. (#314808, Emmanuele Bassi)
2006-01-23 Matthias Clasen <mclasen@redhat.com>
Add GtkLinkButton, a port of GnomeHRef. (#314808, Emmanuele Bassi)
* gtk/gtklinkbutton.h:
* gtk/gtklinkbutton.c: New files.
* gtk/gtk.h:
* gtk/gtk.symbols:
* gtk/Makefile.am: Glue.
* gtk/gtkaboutdialog.c: Use GtkLinkButton.
Matthias Clasen [Tue, 24 Jan 2006 00:20:06 +0000 (00:20 +0000)]
Add link-color and visited-link-color style properties. (#113649, Leena
2006-01-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c: Add link-color and visited-link-color style
properties. (#113649, Leena Gunda)
* gtk/gtkaboutdialog.c: Use the new style properties here instead
of the about dialogs own link-color property.
Kristian Rietveld [Mon, 23 Jan 2006 22:16:41 +0000 (22:16 +0000)]
don't copy tree paths when emitting signals. (#325041, Matthias Clasen).
2006-01-23 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodel.c (gtk_tree_model_base_init): don't copy
tree paths when emitting signals. (#325041, Matthias Clasen).
Behdad Esfahbod [Mon, 23 Jan 2006 20:00:35 +0000 (20:00 +0000)]
Fixed typo.
Behdad Esfahbod [Mon, 23 Jan 2006 20:00:02 +0000 (20:00 +0000)]
Fix misalignment of RTL text in ellipsized GtkLabel: use layout width if
2006-01-23 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtklabel.c (get_layout_location): Fix misalignment of RTL
text in ellipsized GtkLabel: use layout width if set, otherwise
fallback to ink extents width. (#322042)
Matthias Clasen [Mon, 23 Jan 2006 19:11:40 +0000 (19:11 +0000)]
Only show the last button if we can jump to the end. (gtk_assistant_init):
2006-01-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkassistant.c (compute_last_button_state): Only show the
last button if we can jump to the end.
(gtk_assistant_init): Make the spacing and button order more
HIG compliant.
Matthias Clasen [Mon, 23 Jan 2006 15:48:26 +0000 (15:48 +0000)]
Fix drawing issues in progress bars. (#328081, Christian Persch)
2006-01-23 Matthias Clasen <mclasen@redhat.com>
Fix drawing issues in progress bars. (#328081, Christian Persch)
* gtk/gtkprogressbar.c (gtk_progress_bar_size_request): Always
request enough space.
(gtk_progress_bar_paint_activity)
(gtk_progress_bar_paint_continuous)
(gtk_progress_bar_paint_discrete): Clip when drawing the bar.
Michael Natterer [Mon, 23 Jan 2006 10:46:02 +0000 (10:46 +0000)]
move destruction of the private GdkGC from finalize() to unrealize().
2006-01-23 Michael Natterer <mitch@imendio.com>
* gtk/gtkcolorbutton.c: move destruction of the private GdkGC
from finalize() to unrealize(). Fixes BadMatch on display change
(bug #85715).
Kristian Rietveld [Sun, 22 Jan 2006 16:04:02 +0000 (16:04 +0000)]
Revert previous commit after more searching in the bugzilla archives (see
2006-01-22 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Revert previous
commit after more searching in the bugzilla archives (see #309221).
Kristian Rietveld [Sun, 22 Jan 2006 15:50:31 +0000 (15:50 +0000)]
Remove second call to gtk_tree_view_column_cell_set_cell_data, since we
2006-01-22 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Remove second call
to gtk_tree_view_column_cell_set_cell_data, since we also set the
cell data before iterating over the columns for exposure. (Fixes
#322471, Duncan Coutts).
Francisco Javier F. Serrador [Sat, 21 Jan 2006 19:56:40 +0000 (19:56 +0000)]
Updated Spanish translation.
2006-01-21 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Josep Puigdemont i Casamajó [Sat, 21 Jan 2006 17:26:10 +0000 (17:26 +0000)]
Updated Catalan translation.
Matthias Clasen [Sat, 21 Jan 2006 06:25:33 +0000 (06:25 +0000)]
GtkAssistant tests
Matthias Clasen [Sat, 21 Jan 2006 06:15:30 +0000 (06:15 +0000)]
Fix docs
Matthias Clasen [Sat, 21 Jan 2006 04:03:28 +0000 (04:03 +0000)]
Don't crash if layout is NULL. (#327934, Christian Kirbach)
2006-01-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_set_virtual_cursor_pos): Don't
crash if layout is NULL. (#327934, Christian Kirbach)
Dan Winship [Fri, 20 Jan 2006 19:11:08 +0000 (19:11 +0000)]
On "unix", pop up the "Open Location" window on "~" as well as "/".
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_class_init,
tree_view_keybinding_cb, trap_activate_cb): On "unix", pop up the
"Open Location" window on "~" as well as "/". #153213
(location_entry_create): Fix this so autocompletion still works
correctly in that case.
(ok'ed by federico)
Matthias Clasen [Fri, 20 Jan 2006 04:57:45 +0000 (04:57 +0000)]
Explicitly link against Xrender. (#327538, Christophe Belle)
2006-01-19 Matthias Clasen <mclasen@redhat.com>
* configure.in: Explicitly link against Xrender.
(#327538, Christophe Belle)
Matthias Clasen [Fri, 20 Jan 2006 04:40:41 +0000 (04:40 +0000)]
Fix attribution
Matthias Clasen [Fri, 20 Jan 2006 04:37:47 +0000 (04:37 +0000)]
Forgotten log entry
Matthias Clasen [Fri, 20 Jan 2006 04:35:24 +0000 (04:35 +0000)]
Use an unused high bit in the XID to mark fonts in the global xid hash
2006-01-19 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkprivate-x11.h (XID_FONT_BIT):
* gdk/x11/gdkfont-x11.c:
* gdk/x11/gdkxid.c: Use an unused high bit in the
XID to mark fonts in the global xid hash table.
* gdk/x11/gdkcursor-x11.c (update_cursor): Skip fonts
when iterating over the xid hash table, since calling
GDK_IS_WINDOW () on an GdkFont can cause a segfault.
(#327751, Ryan Lortie)
Matthias Clasen [Thu, 19 Jan 2006 16:51:21 +0000 (16:51 +0000)]
Use a priv pointer for cheap access to the priv struct. (#327725,
2006-01-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkassistant.[hc]: Use a priv pointer for
cheap access to the priv struct. (#327725, Christian
Persch)
Matthias Clasen [Thu, 19 Jan 2006 13:38:50 +0000 (13:38 +0000)]
Fix line endings
Matthias Clasen [Wed, 18 Jan 2006 22:39:14 +0000 (22:39 +0000)]
Add GtkAssistant, a widget to construct multi-step wizards. (#115348,
2006-01-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkassistant.[hc]: Add GtkAssistant, a widget to
construct multi-step wizards. (#115348, Martyn Russell,
Matthias Clasen, Carlos Garnacho Parro)
* gtk/gtk.symbols:
* gtk/Makefile.am:
* gtk/gtk.h: Necessary glue.
Anders Carlsson [Wed, 18 Jan 2006 10:06:00 +0000 (10:06 +0000)]
Implement these functions. (#327228, Thomas Broyer).
2006-01-18 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkevents-quartz.c:
(get_mm_from_pixels):
(gdk_screen_get_width_mm):
(gdk_screen_get_height_mm):
Implement these functions.
(#327228, Thomas Broyer).
Anders Carlsson [Wed, 18 Jan 2006 09:47:56 +0000 (09:47 +0000)]
Implement these functions. (#327226, Thomas Broyer)
2006-01-18 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkdrawable-quartz.c:
(gdk_quartz_draw_polygon):
(gdk_quartz_draw_lines):
Implement these functions.
(#327226, Thomas Broyer)
Anders Carlsson [Wed, 18 Jan 2006 09:30:00 +0000 (09:30 +0000)]
Support non-MacRoman keyboard layouts. (#322585, Wolfgang Thaller)
2006-01-18 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkkeys-quartz.c:
(maybe_update_keymap):
Support non-MacRoman keyboard layouts.
(#322585, Wolfgang Thaller)
Anders Carlsson [Wed, 18 Jan 2006 09:17:39 +0000 (09:17 +0000)]
Make the process a foreground application. (#322481, Wolfgang Thaller)
2006-01-18 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkmain-quartz.c:
(_gdk_windowing_init):
Make the process a foreground application.
(#322481, Wolfgang Thaller)
Matthias Clasen [Wed, 18 Jan 2006 05:23:24 +0000 (05:23 +0000)]
Fix several g_new() calls which were using extra indirections or pointless
2006-01-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrbtree.c:
* gtk/gtktreemodel.c: Fix several g_new() calls which
were using extra indirections or pointless casts.
(#327423, Morten Welinder)
Matthias Clasen [Tue, 17 Jan 2006 20:02:54 +0000 (20:02 +0000)]
If the src positions for gradients are nonsensical, don't render anything,
2006-01-17 Matthias Clasen <mclasen@redhat.com>
* pixbuf-render.c: If the src positions for gradients
are nonsensical, don't render anything, rather than
read out of bounds.
Tim Janik [Tue, 17 Jan 2006 18:28:27 +0000 (18:28 +0000)]
fix adopted from maemo-gtk. gtk_progress_create_pixmap(): clear out the
Tue Jan 17 19:27:59 2006 Tim Janik <timj@imendio.com>
* gtk/gtkprogress.c: fix adopted from maemo-gtk.
gtk_progress_create_pixmap(): clear out the newly created offscreen
pixmap, so themes making use of transparency don't draw onto garbage.
Michael Natterer [Tue, 17 Jan 2006 15:49:18 +0000 (15:49 +0000)]
remove the "child-spacing" style property again and add "inner-border"
2006-01-17 Michael Natterer <mitch@imendio.com>
* gtk/gtkbutton.c: remove the "child-spacing" style property again
and add "inner-border" instead. That's far more flexible and
"child-spacing" was a bad name anyway.
Michael Natterer [Tue, 17 Jan 2006 10:18:53 +0000 (10:18 +0000)]
remove "ang" again until all po files are there.
2006-01-17 Michael Natterer <mitch@imendio.com>
* configure.in (ALL_LINGUAS): remove "ang" again until all po
files are there.
Kwok-Koon Cheung [Tue, 17 Jan 2006 00:03:54 +0000 (00:03 +0000)]
New Chinese (Hong Kong) translation Updated Chinese (Taiwan) translation
* zh_HK.po: New Chinese (Hong Kong) translation
* zh_TW.po: Updated Chinese (Taiwan) translation
Abel Cheung [Mon, 16 Jan 2006 23:48:51 +0000 (23:48 +0000)]
Added "ang" "zh_HK" to ALL_LINGUAS.
2006-01-16 Abel Cheung <maddog@linuxhall.org>
* configure.in: Added "ang" "zh_HK" to ALL_LINGUAS.
Matthias Clasen [Mon, 16 Jan 2006 19:58:27 +0000 (19:58 +0000)]
Mention new pixbuf engine features.
2006-01-16 Matthias Clasen <mclasen@redhat.com>
* README.in: Mention new pixbuf engine features.
Matthias Clasen [Mon, 16 Jan 2006 19:53:10 +0000 (19:53 +0000)]
Apply a patch by Alexander Nedotsukov to support customized drawing of
2006-01-16 Matthias Clasen <mclasen@redhat.com>
* pixbuf-draw.c:
* pixbuf-rc-style.c:
* pixbuf.h: Apply a patch by Alexander Nedotsukov to
support customized drawing of expanders and resize
grips. (#325289).
Matthias Clasen [Mon, 16 Jan 2006 19:07:13 +0000 (19:07 +0000)]
Add a current-value property and a setter for it. (#322735, Jorn Baayen)
2006-01-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkradioaction.[hc]: Add a current-value property and a
setter for it. (#322735, Jorn Baayen)
Erdal Ronahi [Mon, 16 Jan 2006 18:18:20 +0000 (18:18 +0000)]
ku.po: Updated Kurdish translations
Michael Natterer [Mon, 16 Jan 2006 14:49:36 +0000 (14:49 +0000)]
applied patch from maemo-gtk which adds a child-spacing style property.
2006-01-16 Michael Natterer <mitch@imendio.com>
* gtk/gtkbutton.c: applied patch from maemo-gtk which adds a
child-spacing style property. Fixes bug #327202.
Matthias Clasen [Mon, 16 Jan 2006 13:18:16 +0000 (13:18 +0000)]
Silence the compiler.
2006-01-16 Matthias Clasen <mclasen@redhat.com>
* pixbuf-draw.c (draw_gap_image): Silence the
compiler.
Anders Carlsson [Mon, 16 Jan 2006 11:11:20 +0000 (11:11 +0000)]
Fix ChangeLog entry
Anders Carlsson [Mon, 16 Jan 2006 10:52:40 +0000 (10:52 +0000)]
Implement keyboard grabs.
2006-01-16 Anders Carlsson <andersca@mac.com>
* gdk/quartz/gdkdisplay-quartz.c:
* gdk/quartz/gdkevents-quartz.c:
(gdk_keyboard_grab):
(gdk_display_keyboard_ungrab):
(gdk_keyboard_grab_info_libgtk_only):
(find_window_for_event):
Implement keyboard grabs.
(_gdk_quartz_send_map_events):
* gdk/quartz/gdkmain-quartz.c:
* gdk/quartz/gdkprivate-quartz.h:
New function that synthesizes map events.
* gdk/quartz/gdkwindow-quartz.c:
(_gdk_windowing_window_init):
The root window is always visible.
(all_parents_shown):
(show_window_internal):
Send map events.
(gdk_window_hide):
Ungrab keyboard and pointer
Kristian Rietveld [Sun, 15 Jan 2006 20:13:25 +0000 (20:13 +0000)]
grrr... the pipe did b0rk b0rk b0rk
Kristian Rietveld [Sun, 15 Jan 2006 20:12:49 +0000 (20:12 +0000)]
Fixes #324099, Tommi Komulainen.
2006-01-15 Kristian Rietveld <kris@gtk.org>
Fixes #324099, Tommi Komulainen.
* gtk/gtktreestore.[ch] (gtk_tree_store_insert_with_values),
(gtk_tree_store_insert_with_valuesv): new functions, analog to
those found in GtkListStore.
* gtk/gtktreestore.c (gtk_tree_store_real_set_value),
(gtk_tree_store_set_valist), (gtk_tree_store_set_valist_internal),
(gtk_tree_store_sort_iter_changed): refactored.
* gtk/gtk.symbols: updated.
* tests/treestoretest.c: added a test for this new functionality.
Matthias Clasen [Sun, 15 Jan 2006 04:44:26 +0000 (04:44 +0000)]
Remove an unused variable.
2006-01-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (gtk_entry_drag_data_received): Remove
an unused variable.
Matthias Clasen [Sun, 15 Jan 2006 04:33:30 +0000 (04:33 +0000)]
Register RTL versions of the indent and unindent icons. (#326857, Itai
2006-01-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconfactory.c (get_default_icons): Register RTL
versions of the indent and unindent icons. (#326857,
Itai Bar-Haim)
* gtk/Makefile.am (STOCK_ICONS): And add them here.
Matthias Clasen [Sun, 15 Jan 2006 04:08:31 +0000 (04:08 +0000)]
Fix a crash with combo boxes in RESIZE_IMMEDIATE containers. (#326806,
2006-01-14 Matthias Clasen <mclasen@redhat.com>
Fix a crash with combo boxes in RESIZE_IMMEDIATE
containers. (#326806, Sebastian Bacher)
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate)
(gtk_combo_box_size_request): Don't call
gtk_combo_box_check_appearance() from here, as that
can lead to recursion.
(gtk_combo_box_init): Instead, call it here.
Kristian Rietveld [Sat, 14 Jan 2006 19:58:04 +0000 (19:58 +0000)]
fix a typo which caused this whole thing to not function ...
2006-01-14 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_iter_children): fix
a typo which caused this whole thing to not function ...
Kristian Rietveld [Sat, 14 Jan 2006 19:41:07 +0000 (19:41 +0000)]
fixup adjustments and top_row if the current dy + page_size exceeds the
2006-01-14 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_size_allocate),
(validate_visible_area): fixup adjustments and top_row if the
current dy + page_size exceeds the new tree view height. (Fixes
#316689, reported by Chris Lord).
Matthias Clasen [Sat, 14 Jan 2006 04:45:22 +0000 (04:45 +0000)]
Make this work on more platforms.
2006-01-13 Matthias Clasen <mclasen@redhat.com>
* */abicheck.sh: Make this work on more platforms.
Kristian Rietveld [Fri, 13 Jan 2006 13:28:22 +0000 (13:28 +0000)]
add a little test for the newly introduced indicator-size property.
2006-01-13 Kristian Rietveld <kris@imendio.com>
* tests/testtreefocus.c (set_indicator_size), (main): add a little
test for the newly introduced indicator-size property.
Kristian Rietveld [Fri, 13 Jan 2006 13:09:14 +0000 (13:09 +0000)]
initialize the inconsistent field in the private structure,
2006-01-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
initialize the inconsistent field in the private structure,
(gtk_cell_renderer_toggle_class_init),
(gtk_cell_renderer_toggle_{set,get}_property),
(gtk_cell_renderer_toggle_get_size): introduce a indicator-size
property.
Michael Natterer [Fri, 13 Jan 2006 10:03:31 +0000 (10:03 +0000)]
don't animate the expander arrows if gtk-enable-animations is FALSE (bug
2006-01-13 Michael Natterer <mitch@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_real_expand_row)
(gtk_tree_view_real_collapse_row): don't animate the expander
arrows if gtk-enable-animations is FALSE (bug #142582).
Matthias Clasen [Thu, 12 Jan 2006 21:31:55 +0000 (21:31 +0000)]
Replace hardcoded values for tab-overlap and tab-curvature with style
2006-01-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c: Replace hardcoded values for tab-overlap and
tab-curvature with style properties. (#325282, Alexander Nedotsukov)
Matthias Clasen [Thu, 12 Jan 2006 21:14:30 +0000 (21:14 +0000)]
Reset the virtual cursor position. (#326003, Evert Verhellen)
2006-01-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_commit_text)
(gtk_text_view_delete_from_cursor, gtk_text_view_backspace):
Reset the virtual cursor position. (#326003, Evert Verhellen)
Federico Mena Quintero [Thu, 12 Jan 2006 20:19:06 +0000 (20:19 +0000)]
Clarify the docs ("darkened/brightened" is not "saturation").
2006-01-12 Federico Mena Quintero <federico@ximian.com>
* gdk-pixbuf-util.c (gdk_pixbuf_saturate_and_pixelate): Clarify
the docs ("darkened/brightened" is not "saturation").
Matthias Clasen [Thu, 12 Jan 2006 18:43:35 +0000 (18:43 +0000)]
Add some docs about RGBA windows. (#326486, Benjamin Otte)
2006-01-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_set_app_paintable): Add some docs
about RGBA windows. (#326486, Benjamin Otte)
Michael Natterer [Thu, 12 Jan 2006 13:50:51 +0000 (13:50 +0000)]
connect to the display's "closed" signal and free the cached scratch
2006-01-12 Michael Natterer <mitch@imendio.com>
* gdk/gdkimage.c (scratch_image_info_for_depth): connect to the
display's "closed" signal and free the cached scratch images upon
display closing (bug #85715).
Michael Natterer [Thu, 12 Jan 2006 09:54:54 +0000 (09:54 +0000)]
skip the animation if the gtk-enable-animations setting is FALSE (bug
2006-01-12 Michael Natterer <mitch@imendio.com>
* gtk/gtkexpander.c (gtk_expander_set_expanded): skip the
animation if the gtk-enable-animations setting is FALSE
(bug #142582).
Matthias Clasen [Thu, 12 Jan 2006 04:33:33 +0000 (04:33 +0000)]
Fix a C99ism
Adam Weinberger [Wed, 11 Jan 2006 17:37:24 +0000 (17:37 +0000)]
Updated Canadian English translation.
2006-01-11 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.
Matthias Clasen [Wed, 11 Jan 2006 16:13:23 +0000 (16:13 +0000)]
Add some notify batching, always emit notify after setting the new value.
2006-01-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c: Add some notify batching, always
emit notify after setting the new value.
Matthias Clasen [Wed, 11 Jan 2006 15:23:05 +0000 (15:23 +0000)]
Add properties. (#311254, Johan Dahlin) (gtk_message_dialog_new): Remove
* gtk/gtkmessagedialog.c: Add properties. (#311254,
Johan Dahlin)
(gtk_message_dialog_new): Remove some redundant code, pointed
out by Gustavo Carneiro.
Matthias Clasen [Wed, 11 Jan 2006 14:54:05 +0000 (14:54 +0000)]
Clean up properly if the grab fails. (finish_drag): Don't leak a reference
2006-01-11 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (create_moveresize_window): Clean
up properly if the grab fails.
(finish_drag): Don't leak a reference to moveresize_window
here.
Matthias Clasen [Wed, 11 Jan 2006 06:26:30 +0000 (06:26 +0000)]
Fix string offsets.
2006-01-11 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkevents-x11.c: Fix string offsets.
Matthias Clasen [Wed, 11 Jan 2006 06:20:17 +0000 (06:20 +0000)]
Allow falling back to another icon theme before hicolor. (#325546, Rodney
2006-01-11 Matthias Clasen <mclasen@redhat.com>
Allow falling back to another icon theme before
hicolor. (#325546, Rodney Dawes)
* gtk/gtksettings.c: Add a gtk-fallback-icon-theme setting.
* gdk/x11/gdkevents-x11.c: Map it to the XSetting Net/FallbackIconTheme.
* gtk/gtkicontheme.c: Consult the fallback icon theme before
looking in hicolor.
Matthias Clasen [Wed, 11 Jan 2006 04:18:19 +0000 (04:18 +0000)]
Add an expander example.
2006-01-10 Matthias Clasen <mclasen@redhat.com>
* tests/testgtk.c: Add an expander example.
Matthias Clasen [Wed, 11 Jan 2006 03:48:27 +0000 (03:48 +0000)]
Queue a draw when losing the focus. (#326064, Andrew Conkling)
2006-01-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_focus_out): Queue a draw
when losing the focus. (#326064, Andrew Conkling)
Matthias Clasen [Wed, 11 Jan 2006 03:36:12 +0000 (03:36 +0000)]
Convert to use instance private data.
2006-01-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimmulticontext.c:
* gtk/gtkhsv.c:
* gtk/gtkhandlebox.c: Convert to use instance private data.
Matthias Clasen [Tue, 10 Jan 2006 19:55:11 +0000 (19:55 +0000)]
Remove duplicate include. (#326429, Benoît Carpentier)
2006-01-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.h: Remove duplicate include. (#326429,
Benoît Carpentier)
Matthias Clasen [Tue, 10 Jan 2006 17:56:27 +0000 (17:56 +0000)]
Convert to use instance private data.
2006-01-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpaned.c: Convert to use instance private data.
Michael Natterer [Tue, 10 Jan 2006 16:47:37 +0000 (16:47 +0000)]
disconnect from the right object ("closed" is emitted by the display, not
2006-01-10 Michael Natterer <mitch@imendio.com>
* gdk/gdkpango.c (on_renderer_display_closed): disconnect from the
right object ("closed" is emitted by the display, not the screen).
(bug #85715)
Anders Carlsson [Tue, 10 Jan 2006 16:38:26 +0000 (16:38 +0000)]
Implement local-only atoms.
2006-01-10 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkproperty-quartz.c:
(ensure_atom_tables):
(intern_atom_internal):
(gdk_atom_intern):
(gdk_atom_intern_static_string):
(gdk_atom_name):
Implement local-only atoms.
Matthias Clasen [Tue, 10 Jan 2006 04:42:18 +0000 (04:42 +0000)]
Correct a warning. (#326341, Benoît Carpentier)
2006-01-09 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkgc.c (gc_get_foreground): Correct a warning.
(#326341, Benoît Carpentier)
Matthias Clasen [Tue, 10 Jan 2006 04:33:30 +0000 (04:33 +0000)]
Make this function public API. (#307099, Todd Berman)
2006-01-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkwindow.h:
* gtk/gtkwindow.c (gtk_window_get_group): Make this function
public API. (#307099, Todd Berman)
* gtk/gtkmenu.c:
* gtk/gtkmain.c:
* gtk/gtkentrycompletion.c:
* gtk/gtkcombo.c:
* gtk/gtkcombobox.c: Update all callers.
Matthias Clasen [Tue, 10 Jan 2006 04:07:32 +0000 (04:07 +0000)]
Make GtkEntryCompletion complete on pastes at the end. (#165714, Christian
2006-01-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (paste_received): Make GtkEntryCompletion
complete on pastes at the end. (#165714, Christian Neumair)
Johan Dahlin [Mon, 9 Jan 2006 19:25:35 +0000 (19:25 +0000)]
Add cvsignore
Matthias Clasen [Mon, 9 Jan 2006 19:22:33 +0000 (19:22 +0000)]
Prevent the first row being focused on map. (#137351, Niklas Knutsson)
2006-01-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup):
Prevent the first row being focused on map. (#137351,
Niklas Knutsson)
Johan Dahlin [Mon, 9 Jan 2006 19:18:14 +0000 (19:18 +0000)]
Add gtk_size_group_get_widgets, fixes #326324. Also mark all fields of
* gtk/gtk.symbols:
* gtk/gtkeditable.h:
* gtk/gtksizegroup.c: (gtk_size_group_get_widgets):
* gtk/gtksizegroup.h:
(struct _GtkSizeGroup):
Add gtk_size_group_get_widgets, fixes #326324.
Also mark all fields of GtkSizeGroup as private
Matthias Clasen [Mon, 9 Jan 2006 18:20:23 +0000 (18:20 +0000)]
Don't leak preedit_string and preedit_attrs. (#322332, Paolo Borelli)
2006-01-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_finalize): Don't
leak preedit_string and preedit_attrs. (#322332, Paolo
Borelli)
Matthias Clasen [Mon, 9 Jan 2006 18:12:59 +0000 (18:12 +0000)]
Make it build
Matthias Clasen [Mon, 9 Jan 2006 18:07:14 +0000 (18:07 +0000)]
New function to get the action for a proxy. (#326288)
2006-01-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkaction.h:
* gtk/gtkaction.c (gtk_widget_get_action): New function to
get the action for a proxy. (#326288)
Matthias Clasen [Mon, 9 Jan 2006 16:54:04 +0000 (16:54 +0000)]
Go back to the old key for attaching the action to the proxy. (#326288,
2006-01-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaction.c: Go back to the old key for attaching the
action to the proxy. (#326288, Diego González)
Matthias Clasen [Sun, 8 Jan 2006 23:25:14 +0000 (23:25 +0000)]
Don't translate empty strings. (#326200, Christian Stimming)
2006-01-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkactiongroup.c (dgettext_swapped): Don't translate
empty strings. (#326200, Christian Stimming)
Matthias Clasen [Sun, 8 Jan 2006 07:54:43 +0000 (07:54 +0000)]
Shrink the private structs of these a bit.
2006-01-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.[hc]:
* gtk/gtklabel.[hc]: Shrink the private structs of these a bit.
Matthias Clasen [Sun, 8 Jan 2006 06:44:11 +0000 (06:44 +0000)]
Fix label alignment when width-chars is set. (#326098, Benjamin Otte)
2006-01-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (get_layout_location): Fix label alignment
when width-chars is set. (#326098, Benjamin Otte)
Matthias Clasen [Sun, 8 Jan 2006 06:11:18 +0000 (06:11 +0000)]
Fix this for the single-rectangle case. (#326127, Benjamin Berg)
2006-01-08 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkregion-generic.c (miRegionCopy): Fix this for the
single-rectangle case. (#326127, Benjamin Berg)
(gdk_region_copy): Use miRegionCopy() here.
Josep Puigdemont i Casamajó [Sat, 7 Jan 2006 12:10:22 +0000 (12:10 +0000)]
Updated Catalan translation.
Matthias Clasen [Sat, 7 Jan 2006 06:08:07 +0000 (06:08 +0000)]
Fix actiongroup-action interaction that relied on actions connecting to
2006-01-07 Matthias Clasen <mclasen@redhat.com>
Fix actiongroup-action interaction that relied on
actions connecting to notify on themselves:
* gtk/gtkaction.[hc]: Factor out the code updating the
visibility/sensitivity of proxies into _gtk_action_sync_visible()
and _gtk_action_sync_sensible().
* gtk/gtkactiongroup.c: Call the new functions when the
group visibility/sensitivity changes.
Matthias Clasen [Sat, 7 Jan 2006 04:18:40 +0000 (04:18 +0000)]
Add missing property change notification.
2006-01-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkactiongroup.c (gtk_action_group_set_sensitive)
(gtk_action_group_set_visible): Add missing property change
notification.
Matthias Clasen [Fri, 6 Jan 2006 21:54:09 +0000 (21:54 +0000)]
And free the string...
Matthias Clasen [Fri, 6 Jan 2006 21:49:59 +0000 (21:49 +0000)]
Just use the directory name for the home dir. (#325817, Federico Mena
2006-01-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (model_add_special): Just use the
directory name for the home dir. (#325817, Federico Mena Quintero)
Matthias Clasen [Fri, 6 Jan 2006 17:53:53 +0000 (17:53 +0000)]
Initialize editable to TRUE. (gtk_text_tag_class_init): The default value
2006-01-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktexttag.c (gtk_text_attributes_new): Initialize editable to
TRUE.
(gtk_text_tag_class_init): The default value for the direction property
is GTK_TEXT_DIR_NONE. Add notes about the initial values of the
font and language properties.
Matthias Clasen [Fri, 6 Jan 2006 15:21:32 +0000 (15:21 +0000)]
Make clicked an action signal. (#325782, Martyn Russell)
2006-01-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktoolbutton.c (gtk_tool_button_class_init): Make clicked
an action signal. (#325782, Martyn Russell)
Matthias Clasen [Fri, 6 Jan 2006 14:07:24 +0000 (14:07 +0000)]
Disconnect from the old adjustments signals. (#325869, Jorn Baayen)
2006-01-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkviewport.c (viewport_set_adjustment): Disconnect from
the old adjustments signals. (#325869, Jorn Baayen)